<?php // no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<div class="moduletable_content clearfix">
    <table cellspacing="0" cellpadding="0" id="newsshow1" class="gk_news_show_table">
        <tbody>
			<?php foreach ($list as $item) :  ?>
			
				<tr valign="top" class="gk_news_show_tablerow">
					<td class="gk_news_show_center" style="width: 100%; padding: 8px;">
						<?php if(@$item->img->size()):?>
						<a target="_parent" rel="nofollow" href="<?php echo $item->link; ?>">
							<img style="width: 45px; height: 45px; margin: 3px;" alt="News image" src="<?php echo @$item->img->attr('src');?>"
								class="gk_news_show_news_image_static i_right"></a>
						<?php endif;?>
								<h4 class="gk_news_show_news_header ta_left">
									<a target="_parent" rel="nofollow" href="<?php echo $item->link; ?>">
										<?php echo $item->title; ?></a></h4>
						<p class="gk_news_show_news_text ta_left;" >
							<?php echo $item->text; ?></p>
					</td>
				</tr>
			<?php endforeach; ?>            
        </tbody>
    </table>
</div>